ExamPlay Light Logo
Mag-sign In

Computer Science for IGCSE & O level - Algorithm Design And Problem Solving (Section 5 - No. 25)

What type of data structure is best suited for implementing a 'undo' functionality?
Queue
Stack
Array
Linked list

Paliwanag

A stack would store the series of steps and reverse them one by one.

Mga komento (0)

Mag-login Upang Magkomento
Advertisement
BrainBehindX Inc Logo
©2026; Pinapatakbo ng BrainBehindX Inc